#-------------------------------------------------
#
# Project created by QtCreator 2013-04-24T19:36:02
#
#-------------------------------------------------
unix{
        QTDIR = $$system(printenv QTDIR)
        CURRENT_PROJECT_PATH = $$system(pwd)
        UNAME = $$system(uname -s)

        contains(UNAME, AIX){
                QMAKE_LFLAGS      += -bmaxdata:0x70000000/dsa
        }
}

win32{
        QTDIR = $$system("echo %QTDIR%")
        CURRENT_PROJECT_PATH = .
                debug {
            CONFIG += console
        }
}

 DESTDIR = ../AlarmClient/debug
 

win32:INCLUDEPATH = .	\
 

unix:INCLUDEPATH +=	 

DEFINES += DLL_OUT


QT              += gui xml svg webkit

QT       += core gui
QT       += sql
CONFIG   += qt uitools
TARGET = mainwindow
TEMPLATE = app
#LIBS += -lwsock32

INCLUDEPATH += . \
				../AlarmClient/global  \
				../AlarmClient  \
				../AlarmClient/include  \
				../AlarmClient/common  \
				../AlarmClient/database  \
				../AlarmClient/region 
DEPENDPATH += .	\		
				../AlarmClient/global  \
				../AlarmClient  \
				../AlarmClient/include  \
				../AlarmClient/common  \
				../AlarmClient/database \ 
				../AlarmClient/region \
		        $$(QTDIR)/include
				  

 

unix:QMAKE_CXXFLAGS +=-w
TEMPLATE = lib

SOURCES +=   demowidget.cpp  \
    displaywindow.cpp \
	topoScene.cpp \
    topoNodeItem.cpp \
	topoFrame.cpp \
	topoData.cpp \
	topoConnection.cpp \
    sysparamdao.cpp \
    sysparam.cpp \
    subsettreenode.cpp \
    subsetdao.cpp \
    subset.cpp \
    splitlightmachineviewinfodialog.cpp \
    splitlightmachinedao.cpp \
    splitlightmachine.cpp \
    seedseditdialog.cpp \
    seedsdao.cpp \
    seeds.cpp \
    proberangedao.cpp \
    proberange.cpp \
    paramdialog.cpp \
    nodemenuaction.cpp \
    line.cpp \
    itemmenuaction.cpp \
    interfacedao.cpp \
    in_performance.cpp \
    doublesubsetdao.cpp \
    dialog.cpp \
    devicetypedao.cpp \
    devicetype.cpp \
    deviceport.cpp \
    devicedao.cpp \
    deviceconnectdao.cpp \
    deviceconnect.cpp \
    device_interface.cpp \
    device.cpp \
    dbutil.cpp \
    connectioninfo.cpp \
    cmdui_dialog.cpp \
    addSplitLightMachineDeviceDialog.cpp \
    addDeviceDialog.cpp \
    addDevice.cpp \
    deviceviewinfodialog.cpp\
    unitmanagedialog.cpp\
    CommonInstanceSet.cpp\
    domxml.cpp\
	SysCfg.cpp  

HEADERS +=   demowidget.h \
    main_topodll_global.h \
	topoConstDef.h \
	topoScene.h \
	topoFrame.h \
    topoNodeItem.h \
	topoData.h \
	topoConnection.h \
    topoconstants.h \
    sysparamdao.h \
    sysparam.h \
    subsettreenode.h \
    subsetdao.h \
    subset.h \
    splitlightmachineviewinfo.h \
    splitlightmachineviewdialog.h \
    splitlightmachinedao.h \
    splitlightmachine.h \
    seedseditdialog.h \
    SeedsEdit.h \
    seedsdao.h \
    seeds.h \
    proberangedao.h \
    proberange.h \
    paramdialog.h \
    paramConfig.h \
    pagegrid.h \
    nodemenuaction.h \
    displaywindow.h \
    main_topodll_global.h \
    main_topodll.h \
    line.h \
    itemmenuaction.h \
    interfacedao.h \
    in_performance.h \
    doublesubsetdao.h \
    doublesubset.h \
    dialog.h \
    deviceviewinfo.h \
    devicetypedao.h \
    devicetype.h \
    deviceport.h \
    devicedao.h \
    deviceconnectdao.h \
    deviceconnect.h \
    device_interface.h \
    device.h \
    dbutil.h \
    connectioninfo.h \
    cmdui_dialog.h \
    CmdUi.h \
    addSplitLightMachineDeviceDialog.h \
    addSplitLightMachineDevice.h \
    addDeviceDialog.h \
    addDevice.h \
    deviceviewinfodialog.h \
    deviceviewinfo.h\
    unitmanagedialog.h\
    common.h\
    domxml.h\
    CommonInstanceSet1.h \
    SysCfg1.h 

CONFIG += shared qaxcontainer
CONFIG += plugin

DEFINES		+= QT_DLL
 

FORMS += \
    displaywindow.ui\
    unitmanagedialog.ui

RESOURCES += \
    menu.qrc \


